			<table width="1100" height="215" border="0" align="center" cellpadding="1" cellspacing="1" style="background-color: white; font-size: 14px;">
				<tr>
					<td align="center" valign="top">
						<table width="1100" border="1" align="center" cellpadding="2" cellspacing="1" style="margin: 5px 5px 5px 5px;">
							<tr height="20">
								<td width="130" align="center" bgcolor="#adeae9"><span class="text_black_bold">Payment ID</span></td>
								<td width="130" align="center" bgcolor="#adeae9"><span class="text_black_bold">Pre-auth ID</span></td>
								<td width="200" align="center" bgcolor="#adeae9"><span class="text_black_bold">วันที่ทำรายการ</span></td>
								<td width="200" align="center" bgcolor="#adeae9"><span class="text_black_bold">เลขกรมธรรม์</span></td>
								<td width="150" align="center" bgcolor="#adeae9"><span class="text_black_bold">Charge</span></td>
								<td width="150" align="center" bgcolor="#adeae9"><span class="text_black_bold">Pre-Approve</span></td>
								<td width="113" align="center" bgcolor="#adeae9"><span class="text_black_bold">เจ้าหน้าที่</span></td>
								<!-- <td width="27" align="center" bgcolor="#adeae9"><span class="text_black_bold">-</span></td> -->
								
								
							</tr>
							{if empty($data)}
								<tr height="20">
										<td align="center" colspan="7">ไม่พบข้อมูลที่ท่านต้องการ</td>
									</tr>
							{else}
								{foreach from=$data item=item}									
									{if $item.payment_status|replace:' ':'' == '1' }
		                        		<tr height="20">		                        			
											<td align="center"><a href="{$APP_URL}/printpaymenttrans/{$item.payment_id}" target="_blank">{$item.payment_id}</a></td>
											<td align="center">{$item.preauth_id}</td>
											<td align="center">{$item.payment_datetime}</td>
											<td align="center">{$item.policy_no}</td>
											<td align="center">{$item.charge}</td>
											<td align="center">{$item.pre_approved}</td>
											<td align="center">{$item.userid}</td>
											<!-- <td align="center"><a href="{$APP_URL}/paymentcancel/{$item.payment_id}" target="_blank"> ยกเลิกรายการ </a></td> -->
											<td >
												<input type="hidden" name="payment_id" id="payment_id{$item.payment_id}" value="{$item.payment_id}">
												<!-- <input type="submit" name="btn_submit"  value="" style="width: 10px;" onclick="_renderCancelPayment('{$item.payment_id}');"> -->
												<button  style ="border-width:0; width:25px; height:25px; background-image:url({$APP_URL}/modules/systemapi/templates/default/images/icon_delete25.png)" onclick="_renderCancelPayment('{$item.payment_id}');"></button>
											</td>
										</tr>
									{else}
										<tr height="20">
											<td align="center"><s>{$item.payment_id}</s></td>
											<td align="center"><s>{$item.preauth_id}</s></td>
											<td align="center"><s>{$item.payment_datetime}</s></td>
											<td align="center"><s>{$item.policy_no}</s></td>
											<td align="center"><s>{$item.charge}</s></td>
											<td align="center"><s>{$item.pre_approved}</s></td>
											<td align="center"><s>{$item.userid}</s></td>
											<td >
												<input type="hidden" name="payment_id" id="payment_id{$item.payment_id}" value="{$item.payment_id}">																								
												<a href="{$APP_URL}/printcanceltrans/{$item.payment_id}" target="_blank">
													<img style ="border-width:0;" src="{$APP_URL}/modules/systemapi/templates/default/images/icon_information25.png" alt="ดูข้อมูลการยกเลิก">
												</a>
											</td >
										</tr>
									{/if}
		                         {/foreach}
		                     {/if}
						</table>
					</td>
				</tr>
			</table>